import java.text.DecimalFormat;

public class Managers extends Employees{
    String Responsibilities,department,name;
    int listOfEmployees;
    double salary=10000.0000;
    public Managers(int ID,int phoneNumber,String name,String address,String a,int b){
        super(ID,phoneNumber,name,address);
        this.name=name;
        Responsibilities=a;
        listOfEmployees=b;
        department=address;
    }
    public double computePay(){
        return this.salary/12;
    }

    @Override
    public String toString() {
        return (String.format("name:" + name + " department:" + department + " salary:" +new DecimalFormat("#.00").format(salary)));
    }
}
